package com.education.user.pojo;

import javax.persistence.Table;
import java.io.Serializable;

/**
 * 用户和角色关联表 sys_user_role
 *
 * @author d
 * @date 2020-03-24
 */
@Table(name = "sys_user_role")
public class SysUserRole implements Serializable {
    private static final long serialVersionUID=1L;

    /** 用户ID */
    private Integer userId;

    /** 角色ID */
    private Integer roleId;


    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }
}